﻿using BW.Models;
using Microsoft.EntityFrameworkCore;

namespace BW.DAL
{
    /// <summary>
    /// 上下文类
    /// </summary>
    public class MyContext : DbContext
    {
        public MyContext(DbContextOptions options) : base(options)
        {
        }

        public DbSet<Employee> Employees { get; set; }

        public DbSet<Member> Members { get; set; }
        public DbSet<Store> Stores { get; set; }
        public DbSet<StoreRegion> StoreRegions { get; set; }
       
        public DbSet<MemberLevel> MemberLevels { get; set; }
    }
}
